package com.service;

import com.entity.RoleAuthority;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aiou
 * @since 2025-06-12
 */
public interface RoleAuthorityService{

    //删除角色权限表信息
    boolean removeByRoleId(Integer roleId);

    //查询当前角色权限
    List<RoleAuthority> list(Integer id);

    //批量删除角色权限表信息
    boolean remove(Integer roleId);

    //保存用户权限
    boolean save(RoleAuthority roleAuthority);
}
